<?php
/**
 * Config class
 * Static variables with configuration parameters
 * @package shakephp
 * @subpackage config
 */
class Config {
	/**
	 * @staticvar array $MODELS Models ("class name" => "file name")
	 */
	static $MODELS = array (
		//"Foo" => "foo.php" //example
	);

	/**
	 * @staticvar array $CONTROLLERS Controllers ("class name" => "file name")
	 */
	static $CONTROLLERS = array (
		"SampleController" => "sample_controller.php" //example
	);

	/**
	 * @staticvar array $USER_CLASSES Additional classes added by the user
	 */
	static $USER_CLASSES = array (
		"SampleClass" => "lib/sample_class.php"
	);

	/**
	 * @staticvar string $METHOD_CHOOSER Controller method chooser
	 * The variable $_GET[Config::$METHOD_CHOOSER] will define which
	 * controller method will be called.
	 * For example, by default, in http://www.foo.com/posts.php?action=add,
	 * the method "add" of the controller will be called by the dispatcher
	 */
	static $METHOD_CHOOSER = "action";


	/**
	 * @staticvar string $DEFAULT_METHOD Action that will be called by default
	 * The variable Config::$DEFAULT_METHOD represents the controller method
	 * that will be called if no action was explicitly specified.
	 * For example, by default, in http://www.foo.com/posts.php,
	 * the method "index" of the controller will be called by the dispatcher
	 */
	static $DEFAULT_METHOD = "index";
}

?>
